package edu.sandau.b23015103.b23015103.repository;

import edu.sandau.b23015103.b23015103.mode.Hobby;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HobbyRepository extends JpaRepository<Hobby,String> {
    List<Hobby> findBynameAndHhobby(String name, String hhobby);

    List<Hobby> findByNameAndHhobby(String name, String hhobby);

    List<Hobby> findByName(String name);

}
